package interfaceexam;

public class Test {
    public static void main(String[] args) {
        Car car = new Car();
        car.setEngine(new New_Engine());

        car.open_car();
        car.stop_car();

        car.setEngine(new Old_Engine());
        car.setWindow(new Window_QUICK());

        car.open_car();
        car.stop_car();

        car.window_test();

    }
}
